package cn.yuanqiao.archive.bianyan.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.List;

/**
 * 专题对象
 *
 * @ProjectName: ruoyi-modules-system
 * @Package: cn.yuanqiao.archive.bianyan.domain
 * @ClassName: YqZhuanTi
 * @Author: lenovo
 * @Description: hbWang
 * @Date: 2023/7/5 9:17
 * @Version: 1.0
 */
public class YqZhuanTi extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 类型id
     */
    private String typeId;

    /**
     * 类型名称
     */
    @Excel(name = "类型名称")
    private String typeName;

    /**
     * 父节点id
     */
    private String parentId;

    /**
     * 单号
     */
    @Excel(name = "单号")
    private String orderNo;

    /**
     * 发布状态
     */
    @Excel(name = "发布状态")
    private String publishStatus;

    /**
     * 创建者
     */
    private String createUser;

    /**
     * 密级
     */
    @Excel(name = "密级")
    private String MIJI;

    /**
     * 是否删除，0(否),1(是)
     */
    private String isDel;

    /**
     * 权限
     */
    private Long userId;



    /**
     * 状态 0：未编辑 1：编辑中 2：编辑完成 3：通稿中 4：统稿完成
     */
    private String state;

    /**
     * 当前登录人用于确定权限
     */
    private String loginId;

    /**
     * 统稿内容
     */

    private String manuscript;

    /*资料Ids*/
    private String materialIds;
    /*档案Ids*/
    private String archiveIds;

    private String userName;


    private String categoryIds;



    /**
     * 封面
     */
    private String coverPath;

    private List<YqZhuanTiBlob> yqZhuanTiBlobs;

    /**
     * 子节点
     */
    private List<YqZhuanTi> children = new ArrayList<>();


    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setPublishStatus(String publishStatus) {
        this.publishStatus = publishStatus;
    }

    public String getPublishStatus() {
        return publishStatus;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setMIJI(String MIJI) {
        this.MIJI = MIJI;
    }

    public String getMIJI() {
        return MIJI;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }

    public String getCoverPath() {
        return coverPath;
    }

    public List<YqZhuanTiBlob> getYqZhuanTiBlobs() {
        return yqZhuanTiBlobs;
    }

    public void setYqZhuanTiBlobs(List<YqZhuanTiBlob> yqZhuanTiBlobs) {
        this.yqZhuanTiBlobs = yqZhuanTiBlobs;
    }

    public List<YqZhuanTi> getChildren() {
        return children;
    }

    public void setChildren(List<YqZhuanTi> children) {
        this.children = children;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getManuscript() {
        return manuscript;
    }

    public void setManuscript(String manuscript) {
        this.manuscript = manuscript;
    }

    public String getMaterialIds() {
        return materialIds;
    }

    public void setMaterialIds(String materialIds) {
        this.materialIds = materialIds;
    }

    public String getArchiveIds() {
        return archiveIds;
    }

    public void setArchiveIds(String archiveIds) {
        this.archiveIds = archiveIds;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(String categoryIds) {
        this.categoryIds = categoryIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("typeId", getTypeId())
                .append("typeName", getTypeName())
                .append("parentId", getParentId())
                .append("orderNo", getOrderNo())
                .append("REMARK", getRemark())
                .append("publishStatus", getPublishStatus())
                .append("createUser", getCreateUser())
                .append("createTime", getCreateTime())
                .append("MIJI", getMIJI())
                .append("isDel", getIsDel())
                .append("coverPath", getCoverPath())
                .toString();
    }
}
